//
//  myButton.h
//  bookKTVMerchant
//
//  Created by edz on 2019/7/20.
//  Copyright © 2019年 edz. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface myButton : UIButton
- (void)setMyButtonIcon:(UIImage *)image TitileText:(NSString *)text TextFont:(CGFloat)font TitleColor:(UIColor *)textColor BackColoc:(UIColor *)backgroudColor;


//文字在左边图片在右边
- (void)creatLeftTextRightButton:(NSString *)buttonText  butttonClolr:(UIColor *) buttoncolor  ButtonFont:(CGFloat)buttonfont imageName:(NSString *)imagename
;
//文字在下图片在上
- (void)creatBottomTextAboveButton:(NSString *)buttonText  butttonClolr:(UIColor *) buttoncolor  ButtonFont:(CGFloat)buttonfont imageName:(NSString *)imagename
;

@end

NS_ASSUME_NONNULL_END
